package com.inspur.his.service.impl;

import com.inspur.his.mapper.DoctzbMapper;
import com.inspur.his.pojo.Doctzb;
import com.inspur.his.service.DoctzbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
@Service("DoctzbService")
public class DoctzbServiceImpl implements DoctzbService {
    @Autowired
    private DoctzbMapper doctzbMapper;

    @Override
    public List<Doctzb> doctzbList(HashMap map) {
        return  doctzbMapper.doctzbList(map);
    }

    @Override
    public void doctzbAdd(Doctzb doctzb) {
        doctzbMapper.doctzbAdd(doctzb);
    }
}
